package com.itheima.pojo;

import java.io.Serializable;
import java.util.List;

public class Address implements Serializable {
    private Integer id;
    private String name;
    private String phoneNum;
    private String longitudeAndLatitude;
    private String addressImg;
    private String address;
    private List<Order> orders;


    public Address() {
    }

    @Override
    public String toString() {
        return "Address{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", phoneNum='" + phoneNum + '\'' +
                ", longitudeAndLatitude='" + longitudeAndLatitude + '\'' +
                ", addressImg='" + addressImg + '\'' +
                ", address='" + address + '\'' +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhoneNum() {
        return phoneNum;
    }

    public void setPhoneNum(String phoneNum) {
        this.phoneNum = phoneNum;
    }

    public String getLongitudeAndLatitude() {
        return longitudeAndLatitude;
    }

    public void setLongitudeAndLatitude(String longitudeAndLatitude) {
        this.longitudeAndLatitude = longitudeAndLatitude;
    }

    public String getAddressImg() {
        return addressImg;
    }

    public void setAddressImg(String addressImg) {
        this.addressImg = addressImg;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public List<Order> getOrders() {
        return orders;
    }

    public void setOrders(List<Order> orders) {
        this.orders = orders;
    }
}
